#ifndef __SITUATION_H__
#define __SITUATION_H__

#include <vector>
#include "stock.h"
#include "price_quantity.h"
#include "date.h"
#include "time.h"

namespace stock_trade{

const float MIN_QUANTITY = 0.00001;
const float MAX_PERCENT = 10000000;
const float MIN_PERCENT = -10000000;

class Situation{
public:
    Situation(){}
    float GetQuantityPercent() const;
    float GetPowerPercent() const;
    bool operator<(const Situation& situation) const;
    Stock stock;
    std::vector<PriceQuantity> buy5;
    std::vector<PriceQuantity> sell5;
    float nowPrice;
    Date date;
    Time time;
};
}
#endif
